package fair.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author: Jingtao_Wu
 * @DATE: 2021-02-26 11:05
 **/

@Data
public class Result implements Serializable {
    private Integer errCode;
    private String errMsg;
    private Object info;

    public Result(Integer errCode, String errMsg, Object info) {
        this.errCode = errCode;
        this.errMsg = errMsg;
        this.info = info;
    }

    public Result(Integer errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
}
